//
//  InterfaceLine.m
//  Portable Traffic Signal Assistor
//
//  Created by Ding on 10/9/12.
//  Copyright (c) 2012 TTU. All rights reserved.
//

#import "InterfaceLine.h"

@implementation InterfaceLine

@synthesize beginPoint=_beginPoint;
@synthesize endPoint=_endPoint;
@synthesize color=_color;
@synthesize dashed=_dashed;
- (id) initWithBeginPoint:(InterfacePoint *)beginPoint endPoint:(InterfacePoint *)endPoint color:(UIColor *)color
{
    self=[super init];
    if (self) {
        self.beginPoint=beginPoint;
        self.endPoint=endPoint;
        self.color=color;
        self.dashed=NO;
    }
    return self;
}

- (void)dealloc
{
    [_beginPoint release];
    [_endPoint release];
    [_color release];
    [super dealloc];
}


@end
